package com.xyht.sca_s.student_manage_system.modules.news.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author XYHT
 * @since 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_news_inform_collect")
@ApiModel(value="SmsNewsInformCollect对象", description="收藏表")
public class SmsNewsInformCollect implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "收藏对象的id")
    private String collectInfoId;

    @ApiModelProperty(value = "收藏用户的id")
    private String collectUserId;

    @ApiModelProperty(value = "收藏状态(0:未收藏,1:已收藏)")
    private Integer collectStatus;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "0:新闻,1:通知")
    private Integer sign;


}
